package com.scwatch.core.repository;


import com.scwatch.common.orm.Limitable;
import com.scwatch.core.domain.LiveBroadcastRoom;
import com.scwatch.core.repository.plus.LiveBroadcastRoomDaoPlus;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.data.repository.Repository;

import java.util.List;

public interface LiveBroadcastRoomDao extends Repository<LiveBroadcastRoom,Integer>,LiveBroadcastRoomDaoPlus {

    public Page<LiveBroadcastRoom> findAll(Specification<LiveBroadcastRoom> spec, Pageable pageable);

    public List<LiveBroadcastRoom> findAll(Specification<LiveBroadcastRoom> spec, Limitable limitable);

    public LiveBroadcastRoom findOne(Integer id);

    public LiveBroadcastRoom save(LiveBroadcastRoom bean);

    public void delete(LiveBroadcastRoom bean);
}
